<template>
<div>这是一个组件
name:{{name}},age:{{age}}
</div>
</template>

<script>
export default {
  name: "Demo",
  props:{
    name:String,
    age:Number,
  }
}
</script>

<style scoped>

</style>